import Vue from 'vue';
import Router from 'vue-router';

import login from './login'
import home from './home'
import auth from './auth'
import cms from './cms'

Vue.use(Router);


export default new Router({
    routes:[
        login,  //登录路由
        home,   //主界面
        auth,   //权限模块路由
        cms     //内容发布系统路由
    ],

    mode:"history"
})